package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;

public class DepartmentDTO implements Serializable {

	private String depCode;

	private Double depDoctorCnt;

	private String depType="E";

	private String depHis;

	private Double depOrder;

	private String validStates;

	private String depTelephone;

	private String parDepStageCode;

	private String depName;

	private String depLeader;

	private String parDepGroupCode;

	private Double depBedCnt;
	
	private Double isOpeDep;

	private String parHospCode;

	private String depGroupDesc;

	private String depHisCode;
	
	private String specCode ;
	
	private Integer countDRG;
	
	private String hospDesc;
	
	public DepartmentDTO() {
		super();
	}

	public DepartmentDTO(String depCode, Double depDoctorCnt, String depType,
			String depHis, Double depOrder, String validStates,
			String depTelephone, String parDepStageCode, String depName,
			String depLeader, String parDepGroupCode, Double depBedCnt,
			Double isOpeDep, String parHospCode, String depGroupDesc,String depHisCode) {
		super();
		this.depCode = depCode;
		this.depDoctorCnt = depDoctorCnt;
		this.depType = depType;
		this.depHis = depHis;
		this.depOrder = depOrder;
		this.validStates = validStates;
		this.depTelephone = depTelephone;
		this.parDepStageCode = parDepStageCode;
		this.depName = depName;
		this.depLeader = depLeader;
		this.parDepGroupCode = parDepGroupCode;
		this.depBedCnt = depBedCnt;
		this.isOpeDep = isOpeDep;
		this.parHospCode = parHospCode;
		this.depGroupDesc = depGroupDesc;
		this.depHisCode = depHisCode;
	}

	public DepartmentDTO(String depCode, String depName, Double depBedCnt, Double depDoctorCnt) {
		super();
		this.depCode = depCode;
		this.depDoctorCnt = depDoctorCnt;
		this.depName = depName;
		this.depBedCnt = depBedCnt;
	}

	public void setDepDoctorCnt(Double depDoctorCnt) {
		this.depDoctorCnt = depDoctorCnt;
	}

	public Double getDepDoctorCnt() {
		return this.depDoctorCnt;
	}

	public void setDepType(String depType) {
		this.depType = depType;
	}

	public String getDepType() {
		return this.depType;
	}

	public void setDepHis(String depHis) {
		this.depHis = depHis;
	}

	public String getDepHis() {
		return this.depHis;
	}


	public Double getDepOrder() {
		return depOrder;
	}

	public void setDepOrder(Double depOrder) {
		this.depOrder = depOrder;
	}

	public void setValidStates(String validStates) {
		this.validStates = validStates;
	}

	public String getValidStates() {
		return this.validStates;
	}

	public void setDepTelephone(String depTelephone) {
		this.depTelephone = depTelephone;
	}

	public String getDepTelephone() {
		return this.depTelephone;
	}

	public void setParDepStageCode(String parDepStageCode) {
		this.parDepStageCode = parDepStageCode;
	}

	public String getParDepStageCode() {
		return this.parDepStageCode;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}

	public String getDepName() {
		return this.depName;
	}

	public void setDepLeader(String depLeader) {
		this.depLeader = depLeader;
	}

	public String getDepLeader() {
		return this.depLeader;
	}

	public void setParDepGroupCode(String parDepGroupCode) {
		this.parDepGroupCode = parDepGroupCode;
	}

	public String getParDepGroupCode() {
		return this.parDepGroupCode;
	}

	public void setDepBedCnt(Double depBedCnt) {
		this.depBedCnt = depBedCnt;
	}

	public Double getDepBedCnt() {
		return this.depBedCnt;
	}

	public void setParHospCode(String parHospCode) {
		this.parHospCode = parHospCode;
	}

	public String getParHospCode() {
		return this.parHospCode;
	}

	public String getDepCode() {
		return depCode;
	}

	public void setDepCode(String depCode) {
		this.depCode = depCode;
	}
	
	public Double getIsOpeDep() {
		return isOpeDep;
	}

	public void setIsOpeDep(Double isOpeDep) {
		this.isOpeDep = isOpeDep;
	}

	public String getDepHisCode() {
		return depHisCode;
	}

	public void setDepHisCode(String depHisCode) {
		this.depHisCode = depHisCode;
	}
	
	
	public String getSpecCode() {
		return specCode;
	}

	public void setSpecCode(String specCode) {
		this.specCode = specCode;
	}
	
	public String getHospDesc() {
		return hospDesc;
	}

	public void setHospDesc(String hospDesc) {
		this.hospDesc = hospDesc;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((depCode == null) ? 0 : depCode.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DepartmentDTO other = (DepartmentDTO) obj;
		if (depCode == null) {
			if (other.depCode != null)
				return false;
		} else if (!depCode.equals(other.depCode))
			return false;
		return true;
	}
	
	public Integer getCountDRG() {
		return countDRG;
	}

	public void setCountDRG(Integer countDRG) {
		this.countDRG = countDRG;
	}

	public String getDepGroupDesc() {
		return depGroupDesc;
	}

	public void setDepGroupDesc(String depGroupDesc) {
		this.depGroupDesc = depGroupDesc;
	}
}